<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="cms" uri="http://cms.gxsoft.com/tags-cms"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>我的公文管理--增加</title>
<link href="<%=request.getContextPath()%>/css/reset.css" rel="stylesheet" type="text/css"/>
<link href="<%=request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
<script language="javascript" src="<%=request.getContextPath()%>/js/meizzDate.js"></script>
<script type="text/javascript">
	function check(){
		var frm = document.form1;
		if(frm.myFileInfoFileTitle.value == ""){
			alert("请输入公文名称！");
			frm.myFileInfoFileTitle.focus();
			return false;
		}
	}
</script>
</head>
<body>
<form name="form1" action="<%=request.getContextPath()%>/MyFileInfo.do?method=add" method="post" onsubmit="return check()">
<table width="70%">
  <tr>
    <td width="30%" align="right" class="bg_blue"><p>公文标题：</p>
    </td>
    <td width="70%" align="left" ><input type="text" name="myFileInfoFileTitle" maxlength="20" value="">&nbsp;</td>
  </tr>
  <tr>
    <td align="right" class="bg_blue">公文描述：</td>
    <td  align="left" valign="top"><textarea name="myFileInfoFileDescription" maxlength="100" cols="40" rows="3" id="nr"></textarea>
    </td>
  </tr>
  <tr>
    <td class="bg_blue" align="right">我的公文上传：</td>
    <td align="left"><iframe name="upload" src="<%=request.getContextPath()%>/admin/myFileUpload.jsp" frameBorder="0" width="100%" height="40" scrolling="no"></iframe>
    <br/>支持格式:.doc/.xls<br/><span id="fileName"></span>
    <input type="hidden" name="myFileInfoFileUrl">
    </td>
  </tr>
  <tr>
    <td class="nohover" colspan="2" align="center"><input class="buttonsubmit" type="submit" value="提交">&nbsp;<input class="buttonreset" type="reset" value="重置"> <input class="buttonreturn" type="button" value="返回" onClick="history.go(-1)"></td>
  </tr>
</table>
</form>
</body>
</html>
